/* eslint-disable import/export */
export interface Category {
  key: number
  label: string
}

export interface Options {
  label: string
  value: string | number
}

export interface PaginationItem {
  current?: number
  pageNum: number
  pageSize: number
  defaultPageSize?: number
  pageSizeOptions?: string[]
  showQuickJumper?: boolean
  showSizeChanger?: boolean
  total: number
  showTotal?: (total: number) => string
  onShowSizeChange?: (current: number, pageSize: number) => void
}
export interface Category {
  key: number
  label: string
}

export interface EnvOptions {
  key: string
  value: string | number
}

export interface IdModel {
  id: number | string
}

export interface TaskOptions {
  id: number
  name: string
  status?: string | number
  state?: string | number
}

export interface NavItem {
  key: string
  label: string
  icon?: string
}

export interface DictItem {
  dictLabel: string
  dictType: string
  dictValue: string
  isDefault: string
  dictSort: number
  stop: number
  del: number
  className?: string
  val?: string
}

export interface TimeBase {
  beginTime?: string
  endTime?: string
}

export interface PageBase {
  pageNum: number
  pageSize: number
}
